package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class RecordDetailListResponse {

    @ApiModelProperty(value = "id ")
    private Long id;

    @ApiModelProperty(value = "通知时间 ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "通知方式：1短信 2微信 3外呼")
    private String sendType;

    @ApiModelProperty(value = "通知对象级别 1-10，数字越大级别越高,默认0")
    private String objLevel;

    @ApiModelProperty(value = "发送结果：0发送成功，1发送失败 2呼叫中（外呼）")
    private String sendResult;

    @ApiModelProperty(value = "发送内容")
    private String content;

    @ApiModelProperty(value = "当前数据推送的手机号")
    private String pushPhone;

    @ApiModelProperty(value = "通知对象信息")
    private String consumerInfo;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "树形结构")
    private List<RecordDetailListResponse> children;
}
